<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义单文件组件</title>
</head>
<body>
<div id="app"></div>
<script src="js/vue.js"></script>
<script>
    import App from "./App.vue";
   new Vue({
       el:'#app',
       components:{
           App//定义带注册App
       },
       template: '<App/>'
   });
</script>
</body>
</html>